from tweetParser import *

def test(text):
	p = parser()
	t = tweetObject()
	t.text = text
	t.username = "Alex"
	test = p.isGood(t)
	matches = ["self.hasAddress","self.hasDayName","self.hasAct","self.hasMonth","self.hasTime","self.hasSpecial","self.hasFoursq","self.hasDay","self.hasDate"]
	for idx,match in enumerate(t.regexMatches):
		if match == True:
			print matches[idx]
